<?php

 /**
  * @package JooS
  * @subpackage Syntax_PHPackager
  */

  require_once "JooS/Syntax/Complex/Transition.php";

 /**
  * Instruction ::= Function | $var = Expression | #conf = Expression
  */
  class JooS_Syntax_PHPackager_Instruction_Syntax extends JooS_Syntax_Complex_Transition {
    /**
     * @return JooS_Syntax_Complex_Concatenate
     */
    protected function createRule() {
      return $this->createSyntax("Complex_Concatenate", array(
        $this->createSyntax("Complex_Choose", array(
          $this->createSyntax("PHPackager_Instruction_If"), 
          $this->createSyntax("PHPackager_Array_Syntax"), 
          $this->createSyntax("PHPackager_Function_Call"), 
          $this->createSyntax("PHPackager_Instruction_Set_Variable"), 
          $this->createSyntax("PHPackager_Instruction_Set_Config"), 
        ))
      ));
    }
  }
